<!-- eslint-disable vue/multi-word-component-names -->
<template>
  <div class="props">
    <h3>props组件 {{ title }}</h3>
    <button @click="$emit('enlarge-text')">Enlarge text</button>
  </div>
</template>

<script>
export default {
  props: ['title'],
  // 声明组件触发自定义事件
  emits: ['enlarge-text']
}

</script>
